<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/CMCSite.Master" Inherits="System.Web.Mvc.ViewPage<Aga.Psad.Mvc.Models.ErrorViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Error
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Error</h2>
    <%
    Aga.Psad.Mvc.Models.ErrorViewModel error = Model ?? new Aga.Psad.Mvc.Models.ErrorViewModel();
    %>
    <fieldset>
        <p>
            <%= Html.Encode(error.Message) %>
        </p>
        <p>
            <%= Html.Encode(error.Details) %>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Volver", "GuardaDocumental", error.ControllerName) %>
    </p>

</asp:Content>

